.ytcenter-resize-panel {
  border: 1px solid #eee;
  border-bottom: 0;
  width: 100%;
  margin-top: 5px;
  line-height: normal;
}
.ltr .ytcenter-resize-panel {
  border-left: 0;
}
.rtl .ytcenter-resize-panel {
  border-right: 0;
}

.ytcenter-resize-panel-header {
  width: 100%;
  height: 34px;
  border-left: 1px solid #eee;
}
.ltr .ytcenter-resize-panel-header {
  border-left: 1px solid #eee;
}
.rtl .ytcenter-resize-panel-header {
  border-right: 1px solid #eee;
}

.ytcenter-resize-panel-content {
  border-bottom: 1px solid #eee;
  position: relative;
  overflow: hidden;
}

.ytcenter-resize-panel-right > * {
  width: 100% !important;
}
.ytcenter-resize-panel-right > *:before {
  position: absolute;
  top: 0;
  width: 100%;
  height: 1000%;
  content: ' ';
  -moz-box-shadow: inset 0 0 5px #bbb;
  -ms-box-shadow: inset 0 0 5px #bbb;
  -webkit-box-shadow: inset 0 0 5px #bbb;
  box-shadow: inset 0 0 5px #bbb;
  background: transparent;
}
.ltr .ytcenter-resize-panel-right > *:before {
  right: 0;
}
.rtl .ytcenter-resize-panel-right > *:before {
  right: 0;
}

.ytcenter-resize-panel-list {
  width: 171px;
  height: 301px;
  display: inline-block;
  border-top: 1px solid #eee;
}
.ltr .ytcenter-resize-panel-list {
  float: left;
  border-left: 1px solid #eee;
}
.rtl .ytcenter-resize-panel-list {
  float: right;
  border-right: 1px solid #eee;
}

.ytcenter-resize-dropdown-selected {
  background: #555!important;
  color: #fff!important;
}

.ltr .ytcenter-resize-aspect-bind {
  display: inline-block;
  width: 5px;
  height: 52px;
  border-top: 2px solid #aaa;
  border-right: 2px solid #aaa;
  border-bottom: 2px solid #aaa;
}
.rtl .ytcenter-resize-aspect-bind {
  display: inline-block;
  width: 5px;
  height: 52px;
  border-top: 2px solid #aaa;
  border-left: 2px solid #aaa;
  border-bottom: 2px solid #aaa;
}

.ytcenter-resize-chain {
  width: 7px;
  height: 30px;
  background: url() no-repeat;
  background-color: #fff;
  background-position: center;
}

.ytcenter-resize-unchain {
  width: 7px;
  height: 30px;
  background: url() no-repeat;
  background-color: #fff;
  background-position: center;
}

.rtl .ytcenter-resize-chain,
.rtl .ytcenter-resize-unchain {
  margin-left: 0!important;
}

.ytcenter-resize-ratio {
  cursor: pointer;
}

.resize-options {
  padding: 0 10px;
  position: absolute;
  bottom: -35px;
  left: 0;
  right: 0;
}

.ytcenter-resize-panel-right {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}
.ltr .ytcenter-resize-panel-right {
  margin-left: 171px;
}
.rtl .ytcenter-resize-panel-right {
  margin-right: 171px;
}

.ytcenter-resize-panel-right > * > *{
  position: relative;
  height: 100%;
  padding-left: 5px;
  margin-bottom: 40px;
}

.ytcenter-resize-panel .ytcenter-panel-label label {
  width: 160px;
}

.resize-options-right {
  min-width: 60px;
}
.ltr .resize-options-right {
  float: right;
  margin-left: 10px;
}
.rtl .resize-options-right {
  float: left;
  margin-right: 10px;
}
.resize-options-left {
  min-width: 60px;
}
.ltr .resize-options-left {
  float: left;
  margin-right: 10px;
}
.rtl .resize-options-left {
  float: right;
  margin-left: 10px;
}